package cn.cityre.tools.crestat;

import org.springframework.context.ApplicationContext;
import org.springframework.core.env.Environment;

/**
 * @author sunzhaoye
 */
public interface StatWorker {

	/**
	 * asda
	 *
	 * @param context 上下文
	 * @param env 文档对象
	 */
	public void beforeWork(ApplicationContext context,Environment env);

	/**
	 * 运行方法
	 *
	 * @throws Exception
	 */
	public void work() throws Exception;
}
